import http from '@/api/http';
import axios from 'axios';
class Login{
    async register(params) {
        return await http.post(`/register`, params);
    }
    async login(params) {
        return await http.post(`/login`, params);
    }
}

export const LoginService = new Login();
